Skip to content

Conversation

@donald
Copy link
Collaborator

Add console=ttyS0... to kernel command line to enable logging f the kernel ring buffer (dmesg) to serial 0 as well. Tested on sigusr2.

Add "console=ttyS0,115200n8" to the kernel command line to get kernel
ring buffer logging to both serials.
When we use `mxgrub --reboot` we don't want to reuse the previous kernel
command line.

Generate a new command line for kexec.

This way, changes we make to $KERNEL_PARAMETER in this script can be activated
by `mxgrub --reboot` as well.
Import existing crashkernel.service into repository.
Add "console=ttyS0,115200n8" to crashkernel commandline as we did for
the regular kernel in mxgrub. Also specifiy full command line here
instead of appending to the command line of the crashing kernel to get a
better defined state.
Add ExecStop to unload the panic kernel.

"systemctl stop crashkernel" can be used to disable the panic reboot and
free the memory.

"systemctl restart crashkernel" can be used to reload the panic kernel.
@donald Donald Buczek (donald) merged commit 837e755 into master Aug 7, 2019
Sign in to join this conversation on GitHub.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant